fixed bug in test + bug in camera orientation