Test - main method