Fixed buh in extend all that prevented testing of multiple extend in one
file. #151