testing .then in gameservice