add and pass test to check if model is getting stored