Refactored functional tests into parts
Fixed dynamic form tests