more tests
Added a test for the advertises.
Fixed some minor errors on advertise
new style
Merge branch 'mathias' of github.com:mc2geek/publishify into nicolas