Asset loading: fix path creation. Add unit tests.