updated tests and lib contents