scriptTests: improve assertion messages