Adding tests to minibar

I added some tests for minibar. See if you are okay with it. If you are I will submit more.