test(main.js): add test cases for templating with assets

Just some simple test cases to make it work! :)