added unit tests for status