fixed multiple class bugs + testest Element::build() and Element::render()