Started on writing test specs. But since access control has been added to swift, things have been weird.