Testing and fixing bugs