made test and lib classes