Exposed `assets` to pagination data.
Added a unit test.