Write tests for status