Check in separate func
First unit tests