Removed minScore from the REST Api and added test-case for scoring.