added score handler unit tests