adding test and correcting empty request scenario

Adding a simple test and fix for an empty request where play would return an error.