build and run tests in opam