added ROFL test cases + extra formatting hooks for attributes