Added iTunesIndex test
Fixed leak of BeeTest objects, caused by setting heartbeat after test stops

Changed setHeartbeat to not create a timer if the test isn't running.