simplify test code. bump coverage requirement to 78%