Adding tests from teapo2.