Added tests with prophecy mock library