Move global functions tests to their own directory.