smaa changes in test code
small fixes as suggested by Slava