added testcase for manifest parsing
better exception