Correctly handle assets not associated with user
Summary
This merge request fixes the handling of assets that have no users associated with it.
The tests have also been improved and all asset types are checked using the content of the test prefix.
Part of #186 (closed)