Fix Complex Forms display in Lexicon Edit

Include a test of the main method that gathers the forms to display

Change-Id: I74e2b682fd5e6e99b7e162b443359f1ce86cfa00