add tests for base