assertions are added to verify that #build() is invoked when no events are registered