Fix compiler warnings

- test/ioq_tests.erl:14:2: Warning: export_all flag enabled - all functions will be exported
- src/ioq_server2.erl:857: Warning: the result of the expression is ignored (suppress the warning by assigning the expression to the _ variable)
- src/ioq/src/ioq_server2.erl:928:52: Warning: variable 'RL' is unused
- test/ioq_kv_tests.erl:125:14: Warning: random:uniform/1 is deprecated; use the 'rand' module instead
diff --git a/src/ioq_server2.erl b/src/ioq_server2.erl
index ea50346..85ffa2c 100644
--- a/src/ioq_server2.erl
+++ b/src/ioq_server2.erl
@@ -851,11 +851,6 @@
         from = FromA,
         key = {Fd, Pos}
     },
-    _Request1B = Request0#ioq_request{
-        init_priority = Priority,
-        from = FromA,
-        key = {Fd, Pos}
-    },
     {noreply, St2, 0} = handle_call(Request0, FromA, St1),
     {noreply, St3, 0} = handle_call(Request0, FromB, St2),
     {reply, RespState, _St4, 0} = handle_call(get_state, FromA, St3),
@@ -925,7 +920,7 @@
     {_, #ioq_request{init_priority=PriorityA2}} = hqueue:extract_max(HQ),
     Tests0 = [?_assertEqual(PriorityA, PriorityA2)],
     {_St, Tests} = lists:foldl(
-        fun(_N, {#state{iterations=I, resize_limit=RL}=StN0, TestsN}) ->
+        fun(_N, {#state{iterations=I}=StN0, TestsN}) ->
             ReqN = BaseReq#ioq_request{ref=make_ref()},
             ExpectedPriority = case I == 1 of
                 false -> PriorityA;
diff --git a/test/ioq_kv_tests.erl b/test/ioq_kv_tests.erl
index 48ee464..1477f46 100644
--- a/test/ioq_kv_tests.erl
+++ b/test/ioq_kv_tests.erl
@@ -122,7 +122,7 @@
     Keys0 = dict:fetch_keys(KVs),
     Keys = lists:append(Keys0, [foo]),
     NumKeys = erlang:length(Keys),
-    KeyPos = random:uniform(NumKeys),
+    KeyPos = rand:uniform(NumKeys),
     lists:nth(KeyPos, Keys).
 
 cleanup() ->
diff --git a/test/ioq_tests.erl b/test/ioq_tests.erl
index 70eefc2..51bc0d3 100644
--- a/test/ioq_tests.erl
+++ b/test/ioq_tests.erl
@@ -11,7 +11,6 @@
 % the License.
 
 -module(ioq_tests).
--compile(export_all).
 
 -include_lib("eunit/include/eunit.hrl").
 -include_lib("ioq/include/ioq.hrl").