Fixed many bugs and sucessfully ran the tester class in the cloud.