test(FDLGEN): Add test for FDLGEN method generation (refs #4518)