Fix 405 error in test