Client lua handler and test spell