Renamed value to avoid clash with function. Test needs to be encapsulated.
Added count items test even though all it does is show the php.js library in use.