Add some test cases for MediaAccess class