Fix form specs to use test doubles with basic input interface
Add a Hash#slice core extension