fix test. fix bug in normalization (also fixed in master)