tests for status