add LevelDB tests
Fix the preload attribute parsing