Fixed and added tests.
Implemented AbstractMediaInterface base class
AbstractMediaInterface test.
minor tweaks
Merge branch 'dev'