add test code for insert(buy game), it seems the database will restore itself after submit a form