Add unit tests for build no cache