added tests for not setting final fields