Proceeding on the assumption that this is the function in package exptest
:
The test stat here is $$W = \frac{n(\overline{X} - X_{(1)})^2}{(n - 1)\sum_{i=1}^n{(X_i - \overline{X})^2}}$$
With that test statistic the test would actually be for testing a shifted exponential against a range of alternatives. (Edit: the original paper confirms this)
After shifting the sample by the minimum (and discarding that value), this statistic is a function of the coefficient of variation which makes sense -- with the ordinary exponential the CV should be close to 1.
Because of the particular form of the statistic I'd have expected it to have good power against the normal (except in a particular subset of cases) -- but trying it on samples from the standard normal it doesn't seem to; this might instead suggest some implementation issue.
Looking at the code, it looks like the implementation of the test might indeed be wrong.
To quote the original paper, $^{[1]}$
As an omnibus procedure, W is to be used as a two tailed statistic
As far as I can see, the code only looks at one tail. There may be other issues with it, I haven't checked closely, but that could easily explain very low power against some alternatives where the CV differs from 1.
[1] Shapiro, S. S. & Wilk, M. B. (1972)
"An Analysis of Variance Test for the Exponential Distribution (Complete Samples)"
Technometrics, 01 May 1972, Vol.14(2), p.355-370
exptest
? $\endgroup$