* fix cast under multiple cases of case-> * add test * Comments explaining cast-table's lists of types and what they mean