writing answer unit tests ch6