Modified test for private variables