Added some tests and fixed a bug where the beekeeper managment form was not displayign for admins