Try to coerce context variable into hash

- use Hash(context) instead of context when making
- make LightService::Context respond to to_hash (as required by Hash())
- remove unnecessary test