Implements tests