test: Fix missing check for controller
test: Fix missing check for controller

Before referring to the controller, we should make sure it exists.

Change-Id: Ie3bad71ec2df9128fea37d84b477535eb865584b

shaka-project/shaka-streamer,shaka-project/shaka-streamer