added tests for is_readable