#3879: Added tests for class members