gulp changes
add test helper
add middleware support in test helper
rewrite of old tests to use new test helper