Add test case interface

This interface will then also be implemented by the bundle base test class, at
least reducing the duplication in PHPDoc.