API tests for rest

Added tests for /stories endpoint

Added mock for sqlalchemy session.

Change-Id: I927b857b646ce014624d8fdd5eb2bc2803601e9e
Merge "API tests for rest"