Finished editor tests, fixed implementation of authorization, closes #31, #32, #33, #34, #35