trying to fix errors in model test