first few jest tests and fix to search