BS-9623 - unit tests on documents in forms