Refactored aerospike tests.