added tests for shuffle method