Fix KML synchronization bug
Use Factory Boy for unit test