Add before_fork process which runs after executing kill -USR2

But still doesnt work :(
Add tests to check a number of models