improved test-examples