added test for editions route, bug fixing