Testing code offline