some fixes to a functionality test