Fixed tests on Ruby 1.8.7
 * Wrong syntax used to create a hash (empty: instead of :empty =>).