Almost matching Danielsson tesselation
added threading test
Fixing tests