build with tests