Added module examples to demos, tests.