move some checks to own file, add tests for snow