Test code that shouldn't segfault