Added more tests
Improvised Code
Showing only relevant answer
Added 'moreAt', extra fail condition and changed template to text