Updates tests

Adds test for passing incorrect id to the API.