Add test for isatty