added tests for /test/ endpoint access.