Add some tests for the existing functions.