adding tests for base clases