Added test for getter and setter must either both be static or non-static