updating tests and lib