First commit. Tests added.