Added unit test for return type variable error - issue 15.
Merge pull request #16 from zatonovo/eric/type-variable-bug

Added unit test for return type variable error - issue 15.