Add tests to mosaic build