Updated ability.rb and added MediaObject ability tests