Writing tests for 1.21