Fixed callback on build and buildTest