Add test code to minimal-layout.