Refactor asset manager tests