fix Redmine:SafeAttributes and their tests