convert api /fetch tests to tape
fix commits test dir name - should be sepparate from build
convert websockets tests to tape
test fix: avoid race condition that sometimes causes test to hang
by watching for change to deploy dir before triggering deploy