wrote some tests and documentation
update gulpfile