Added tests for FormResolver