Added spec for custom template