Adds some Tests

@andyburke  what do you think? I go a small amount of code coverage done.
First pass I did have the an api check for like `sidebar.open` but I had taken it out due to creating a test for that method in general. I think if we were to have another check here it would be nice to do `sidebar instanceof Sidebar` but with exports Im not sure if that is valid.