cleaning up spec tests
adding spec for format_action
adding spec for format_chain