- fixed a bug with single elements over the threshold value
- added test of single elements over threshold value