basic tests for validation