testing and examples