if ["$(bin/base64 test)" == "$(echo 'test' | bin/base64)"]; then echo 'passed'; else echo 'failed'; fi;