fixed tests. post requests now test correctly