fixed some tests/examples