Fixes validate_uniqueness_of when scope is taken

Re-implement how to get previous value in order to test
validate_uniquenes_of matcher, after the scope changes. This way, new
value should not be taken by a previous record. Fixes #207.