Fix test

Without a return here, this array_filter() callback is rather useless.