Fix tests with infix $ operator