Move karma configuration into test directory