Some more testing and work with threads