user and game component test refactored