Made test method for attribute protected so it can be overridden