Added unhappy path tests for when endpoint does not exist or method is not supported