unit test on all methods