Test framework for IEx

This is WIP. Curious to know if I'm moving in the right direction.