Add test for parsing foreign function definitions
Add missing end-of-line in foreign function parsing
Add bigger parser tests

Added a test that combines earlier tests into one bug module.