add init to tests, update .gitignore
add attribute filter