Added support for enter key + karma tests added