Whitespaces
Bugfix: Added unit test and fixed missing reset of full sync requested flag

Hopefully fixes mantis issue 4241
Merge branch 'rc/2.0.0' into develop