add tests for blink and do some gulp refactoring