Shared incremental compilation tests. For running locally and on teamcity.