adding basic test cases for existing functionality