update filename generation test with stringent assert