The frequency in which heartbeat messages are sent has been decreased. The code of some unit tests has been reformatted.
A bug has been fixed in function heartbeat().
Function heartbeat() has been simplified.
Merge branch 'ew-dev' into development