Implementation of some tests