added a tests/ directory
added std::set typedef and tests