Merge pull request #120 from nabinhait/master

internal reco, fixes and testcase for stock entry