update Test method