[GW|EM] split build to run unit tests and integration tests as separate targets