improvements to Pascal tests