Added Types.hpp and more complex test file for Threads