unit test for signin POST response