Main to test