write unit tests which Core must satisfy