please add one test with a valid attachment too