Cover all lib code with tests