Add spec tests for install command