Generalize the fake manifest test class.

So we can use it with other manifest files.
Tests on an empty manifest ({}).
Tests on an invalid manifest.
Tests on a bundle with an invalid manifest.