test for basic functions