unit test fixes for gulp