Also added validation failure tests in packager_test.py. Change-Id: I6697a3138d57889110250404205536dd5cd53cd0