moved tests into folder and added test for minified version