tests with simulator