Moved test files into unit folder
Added tests around the testResource