More examples added. Tests added.