Fixed codes tests