wip: more tests, forma api param checking