Add tests for multiple local compilation