simplified function names in external interface, added run_tests_in_file function