Add set -ex to bin/test

Signed-off-by: Phan Le <ple@pivotal.io>