#371 increasing code test coverage