add assignment test and remove calls to scanner.