Refactored input checks

POSIX compliance counter increments n' tests