added phpspec tests