table connected to details; tests added