Added test for base functions (incomplete).