Add test for unknown type. Fix formatting