Add unit tests for field value factor