Added rspec tests for template file option