adding test for helper callback priority
fix behavior order