added test for list components in context output
getting components in context in formatted style now works, but the code is ugly as hell