Adding tests for request status, fixing bug in request state

Made a branch just for you...