Fixed api spec tests.