added test; made size search cleaner
updating tests