small fixes to sourcing tests