added dealing tests