Added tests for status controller