Defined missing convert method. Fixing some tests