Add queue item controller spec
Move logic from model to controller