card layout tests