use t.end() call to end tests instead of plan