add test for getWorkflows