Wrote functional and unit tests

- Tests that a user is logged in order to perform certain actions on an expense
- Checks that some fields aren’t empty when creating an expense