removed ending statement

not necessary inside function, it was a test. can be put directly in
test code.