Added tests for add instance field