improved the tests for isX functions