Added phpspec testcase