Encapsulate bytecode-source code matching tests