Added unit tests for fields #1.