Test annotated functions.
Test and fix layout parsing.