Bugfix for controller testing on travis