Minor refactoring of simple unit tests, using the same test implementation for all branch target instructions.