Moved tests to separate test folder and updated karma config file