added test case as per review comment Issues/22

Please review and merge in master if all OK #22