Renamed extension method. Added test for extension method.