testNode.putByteArray( "arrayKey", new byte[10] );
testNode.putDouble( "doubleKey", 3.14 );
testNode.putFloat( "floatKey", ( float ) 3.14 );
testNode.putInt( "intKey", 345 );
testNode.putLong( "longKey", 75449559185447L );
testNode.sync();
testNode = prefs.node( "testNode" );
assertEquals( true, testNode.getBoolean( "boolKey", false ) );
assertTrue( 3.14 == testNode.getDouble( "doubleKey", 9.20 ) );