Fixed shuffle bug

Signed-off-by: Daniel Pawłowski <danielpawlow@gmail.com>
UnitTests init added

Signed-off-by: Daniel Pawłowski <danielpawlow@gmail.com>