remove unused variables and simplify test to not cause unused variable warning
minor #450 remove unused variables and simplify test to not cause unused variable warning (keradus)