Issue 178 test coverage