Tests for changing template extension