make tests working