fixed #test to do the right thing