Basic action tests plus slight reorganization
Runaway space removed
Basic tests for to_header and to_text methods

Extended tests with actions (and possibly mixins) do not work at the moment