added test for Helper::checkAttributeMaintained.