Feature/player fix

for now this pull requests has a few bug fixes and adds tests for the queue in the frontend.

i'm still battling the integration testing. this takes some more time.