build tests before running them