Basic testing for cellcounter.main, fixes broken context initiation