Added unit tests to status model