added tests for debt with attached file