Add test for initial sync, cleanup tests

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>