fix integration test and cleanup actor test