Unit tests for building with slave