tests_dir support for travis and appveyor