Add test for Explain into test framework