Moved HasScaled, HasWritingScaled and IsEquitable to TestCode entity.