buildman: Add tests that check the correct output directory is used