fix put single game api and add test