fixes

- reordered resources
- added test_user attribute
- modified test email script