added $ to functions; added pair and tap tests