Updated postTest.js with new tests