fixed api tests, still need to make patch and post work with accurate responses