Add test for list + code + header