fix module dependency. fix test setup