Module tests and examples