Add testing to checkout