add test seed and fix js