Add tests to cover all function with and without context.