created tests for all three criteria