adds tests for base