BS-11633 : Fix tests in error on Windows

- Fix tests for FormDefinitionAPIImpl