making tests work when done together

Mostly just changed the ports that each file was using, so they didn't
all try to use the same ones
Testing Controller

• Added tests for controller middleware
• Adjusted the interface to be more user-friendly