improve test coverage refs #161