Tests weren't working, adding more for plugins loading

Following discussion here: https://github.com/mycozycloud/americano/pull/17, I fixed what had to be fixed and improve the tests accordingly.