Fixed weird namespace issue in test_function.hpp

Started testing fixes to issues in when_all() and when_any() in afio