Add test for $.terminal utilities