fixed tests based on Helmut Wollmersdorfer's advice, thanks