Added some more tests and made them work.

Changes to match https://codereview.chromium.org/555063002.
Remove playbackRate setters. Will add them in a different patch.
Remove unneeded var
Small style change