updated test

added try finally to size method