add some tests (check functions)