Added unit test for spell system