unittest to models and helper