validate arguments tests