Unit tests for FormAbstractFactory

- Tests for all behaviors of abstract factory
- Fixed a number of issues along the way
- Form Factory should inject created input filter with input filter
  factory if it will accept it.