Added tests for the isStatus function