Added tests for explain