deck upload functionality and fixed failing tests