test for my open function