Some fixes in example tests