Expose build errors in test