test: Refactor interface tests a little