fixed NPE and added unit test in generating meta info. Bumped version number