legacy tests: migrate test21