test case added

Test case added and extra space given around the assignment of this
function