Additional test checks, added check function