don't build an image before the test. add 'test' to .PHONY.
clean up update.sh. fix update.sh doesn't handle TEST_OPTS correctly.