Test for bad request, also testing for commit id