Added test function for model design; currently not working due to mongoengine import errors