fixed interaction test and little mem-leak