fixing bootstrap 3 styles and adding tests to patterns