Shared specs refactoring
Added html partial specs. Extracted active element partial tests into a shared example