moved pending payment template
fixed worker specs using database checks instead of expectations