Added default test case

Fixed bug in AccessModifier Class