Created server restart and stats methods and tests for them
Merge remote-tracking branch 'origin/master'