Fix broken tests

Hi *,

i fixed two broken tests in order to poke more around in the code. 

Unfortunately travisci cannot install RRDs so that one test still breaks.