Use a service to extend Hash instead of extending Hash
Remove test for nonexistent class