Add bad request tests