Createt mock and added alot of test methods.