fixed #69, test updated