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

Hopefully fixes mantis issue 4241