Basic tests on get and post request handlers