Added integration test for last checkin, fixes #47