Custom activity queries

to which process you did attach?
maybe you can bring the test cases into visual studio by referencing UiPath acitvities
and invoking it from there

New WorkflowInvoker(YourUiPathAcitvityInstance)

Maybe following will help: