Adding test for return coverage line

Relates to #270