fixed some hardcode in tests