write a simple test and fix scanner bug where it always parsed it as fffffff...