tests: add tests for nitvm

Signed-off-by: Jean Privat <jean@pryen.org>
Merge pull request #1 from privat/nitvm

tests: add tests for nitvm