fixes to liberty tests