core features tested + refactoring tests