Fix failing test on master files controller