some functions only tests