Extension method
Added test