fixing init bugs =)
add test file