Add test code to assembler for ghosts.