Add tests for t! and t behavior