Providing tests for proposal #804
changed fucntion to function
Merge pull request #805 from Gamesh/patch-2

Providing tests for proposal #804