Fixed karma configuration
Added ability to run code passed by the user