Tests for the new support functions.