Add tests for fredrik-cmd