Added test for assigns invalidating assert_template