moved tests into a separate file
renamed fail to panic