Fixed unittest
Added score bucket sort api