Corresponding tests and lightweight documentation written