Add test case for #24