Fixed test for #1036
Fixed #1036 typing problem
Asjusted failing test to new compiler error message