fixing compile err in tests