added test for before&afterConstruct callbacks, updated callback paramter orders