doc fixes; examples are now compiled with test classes