Stub out template in test