Replacing < with { in test