Just a little cleanup from an earlier patch that makes f5 unit tests only run if the f5 sdk is installed
Also includes unit tests for the code