tests: add helpers to test backends directly