Estimating and Testing Continuous-Time Models in Finance: The Role of Transition Densities