Get the current test.

Returns undefined if the interface is not mounted, or if not in a test currently.