tests for ions