Also include inner workings of filename() in test