General tests and examples