fixing bad syntax in tests