adding unit-test to build process in single page project