created postDot function.
Set up test for postDot