Added test area and publish function