Add test for source expansion.
Fix comment typo