simplified and expanded tests using custom check functions