added is_deprecated() to asset model, fix tests