Changes to make blosc thread-safe
Quick and dirty test fix. Now hardcoded for 2 threads