adds basic namespace and api testing for cms toolbar
improved code from javascript tests
get rid of onclick variable so there is no test required (no public API as it's private)
small renames for consistency
add comment draft for other tests