run tests on build with code coverage. add a few extra tests.