Add code to pass tests in unique_spec.rb