added tests for base