updated api test to compare responses against expected; added test for getMeta
getMeta was returning double nested meta objects