added unit tests for PieExecutor