added method to run test