fix in merge.rb: refine the checking if an argument is an empty string
Added rspec tests for the new behaviour of merge accepting empty strings

added test that '' is accepted
changed a test that a number is correctly rejected with a type error