Yes, as BillJ says in the comments, 3 and 4 are correct. However, in terms of common speech, they do sound slightly unnatural to native speakers. This problem is usually solved by putting a clarifying word in front of "how."
3: Precisely how fast this car goes has not been tested.
4: Exactly how much this car costs depends on options.