added statuscode tests