superfluous (..) around test command". Also remove redirection as test(1) should never produce any output.