Fix some whitespace issues in test
Remove hard-coded language from functional tests
Fix usage of add_lang_ext()