Add tests and algorithms packages