grunt & tests

update grunt file to support tests
update test flow for wf