add nested foo & test; add semi-colons for consistency