Added tests for mtg engine