Convert tests to phpspec

@mitchellvanw please review