Main method test