doubles tests not working