tests
status code for invalid apis