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();

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)