Unit tests on the class Field, restructuring the solution. This is the end version