Improved resource loading of sprite manager
Implemented test for sprite manager