moved, renamed and added test

• move context test to the proper class
• renamed existing method to match environment
• added new method to test single identifier replacement