Added nosetests for metadata