Fixed uniqueness error in module and also added first save and lookup test