added test for inside.py and added example amin function to inside.py