replace rcov with simplecov

I merged #225 and added some modifications to fix #252 .