Move not test method to utils module