Test for scorer and bugfix in scorer