add test case for lines callback attachment
add test case for lines callback attachment

originally, the callback was composed with the notify function of the
new deferred object and subsequently passed into the promise of
deferredData, resulting in the callback persisting even after the
deferred was resolved

sonnym/fics