added badges tests to comment spec