Removed test methods from code examples