write rspec test for #find_value method
write #find_value method, write more rspec tests to check it