Added a test of joining from main from kept data