Added test for #1767
Fixed #1767 even non-boolean isX() functions are seen as getters