Added tests for statuses controller