Added json manifest.
Fixed spec tests.