edit_user_profile and show_user_profile are not firing inside a class

Where are you calling the class? A class by itself will do nothing unless it’s used.

So, add at the very end $activate = new Test_Plugin();