updating the called methoed in the main function of the test file