added tests to ingredient model