completed tests and solution to triple double