GFCI outlet has power and works, but the test button is not working...assuming that means no fault protection
Just get a GFCI tester for $8. It allows you to quickly test outlets to see if they’re properly wired and allow you to test the GFCI itself through the test button.  Inexpensive insurance for the whole house.