added onobjectposted to unit test, jshint