add tests to avoid regression