Added unit tests for getPostDest