added full sync test cases

added full sync test cases and fixed pep8 violation