test example in main class