Added player mocking functionality to test misbehaving players

Signed-off-by: timdrew <tim@timdrew.com.au>
Updated test script to check the number of "player" processes running before and after the hub unit tests.

Signed-off-by: timdrew <tim@timdrew.com.au>