initial checkin of lib/tests/examples