Removing duplicate call to build() in test.