added unit tests, fixed bugs in quesiton status after test save/delete