Added some tests and working prototype of auto-downloading frameworks.