update test and methods