Writing Template spec and tests..