test: add some more build() tests