Add more tests and change Field.length behaviour