Add test for compatibility with 3.4