Initial tests and argument validation