Fence REST API completed but not junit tests