return http status 201 when a new resource is created
fix up search test