unittest.sh fails to run on openBSD
the 'type' command produces different output on openBSD than on other platforms, leading the script to always behave as if the 'kyua' binary in on the PATH.
we can fix this by using 'command -v' instead of 'type'
(tested command -v on openbsd, macos, centos, and solaris)