add unit-tests for score rescaling