Added unit tests for height and width of field